Area Under the Curve – Riemann Sums & Definite Integral

How to use

The shaded rectangles approximate the area under the curve on [a, b]. The exact value of the definite integral ab f(x) dx is computed and shown for comparison.

As n → ∞, the Riemann sum → the definite integral.